package cn.edu.xmu.oomall.liquidation.microservice;

import cn.edu.xmu.oomall.liquidation.microservice.vo.AfterSaleRetVo;
import cn.edu.xmu.privilegegateway.annotation.util.InternalReturnObject;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "aftersale-service")
public interface AfterSaleService {
    @GetMapping("/internal/aftersales")
    InternalReturnObject<AfterSaleRetVo> getAfterSaleBySn(@RequestParam String serviceSn);
}
